﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using ReflectTest.Controllers;

namespace ReflectTest
{
    internal class Program
    {
        private static void Main(string[] args)
        {
            var container = new Container();

            container.RegisterAssemblyTypes(Assembly.GetExecutingAssembly(), 
                t=>t.Name.EndsWith("Svc")||t.Name.EndsWith("Controller"));

            var homeController = container.Resolve<HomeController>();


        }
    }

    
}

    

